import request from '@/utils/request'
//查看列表
export function getPoleList(params){
    return request({
        url:'/pole/info/list',
        params
    })
}
//添加
export function addPoleList(data){
    return request({
        url:'/pole/info',
        method:'post',
        data
    })
}
//编辑
export function editAddRole(data){
    return request({
        url:'/pole/info',
        method:'put',
        data
    })
}
//删除
export function deleteRole(id){
    return request({
        url:`/pole/info/${id}`,
        method:'delete'
    })
}